<template>
	<view class="all-box containers" style="margin-bottom:200rpx;">
		<view v-if="netWorkType!='none'">

			<view class="container tui-skeleton">
				<view class="pad-all30">
					<view class="font21 font-bold text-center">
						正在寻找设备
					</view>
					<view class="font12 font-gray padtop10  text-center">请确保wifi信号良好</view>

					<view class="margintop30 font12 font-gray padbottom15">
						<image class="tip-light-img" :src="OSS_HOST+'logo.png'"  mode="widthFix"></image>
					</view>
					<view>
						<button type="primary" @tap='nextStep'>找到设备</button>
					</view>
					<view>
						<button type="warn">未找到设备</button>
					</view>
					
				</view>
				<view class="nextStep bg-body" @tap="nextStep">下一步</view>


			</view>
		</view>
		<!-- 登录弹窗 -->
		<uni-popup-vlogin id="popupvLogin" ref="popupvLogin" type="bottom" />

	</view>
</template>
<script>
	import Vue from 'vue'
	import store from '@/store/index.js';
	import {oss_host} from '@/config/config.js';
	// 公共底部
	// import btabbar from '@/components/indexBottomTable/bottomtabbar.vue'
	import {
		mapGetters
	} from 'vuex';
	export default {
		components: {
			// btabbar
		},
		computed: {
			//注册网络状态
			...mapGetters(['netWorkType'])
		},
		data() {
			return {
				data: {
					list: []
				},
				OSS_HOST: oss_host,
				timerID: null //定时器
			}
		},
		onLoad() {
			var that = this;
			this.getWifi()

		},
		onShow() {



		},
		methods: {
			
			nextStep(){
				let _this = this
				
				this.$refer.setVilit('/packageBind/pages/bind_equip/equip_list')
				let callback = function(url) {
					_this.$refs.popupvLogin.open()
				}
				var data = {
				
				}
				this.$refer.toUrl(callback, data)
				
				return
				
			}

		}
	}
</script>

<style lang="scss">
	@import "./search_equip.scss";
</style>
